#include "inet.h"
#include "event.h"


int main(int argc , char * argv[])
{

    int sockfd;
    
    sockfd = open_socket(INADDR_ANY,1982);
    if(sockfd == -1)
      err_quit("opensock error");
   
    printf("SOCKED:%d\n",sockfd);


    int ep = epoll_init(1024);
    printf("ep:%d\n",ep);

    int ret = epoll_add(sockfd,EPOLLIN,EPOLLET);
    printf("ret:%d\n",ret);
    return 0;
}
